package com.qfedu.entity;

import java.io.Serializable;

public class BoatEntity implements Serializable {
    private int sid;  //船id
    private String sname; //船名
    private int  soid;
    private String scountry;
    private int rid;
    private int sstate;//1 已开走 2 在港
    private BoatTypeEntity so;
    private RouteEntity re;

    private int pageNum=1;
    private int pageSize=5;


    public int getSstate() {
        return sstate;
    }

    public void setSstate(int sstate) {
        this.sstate = sstate;
    }

    public RouteEntity getRe() {
        return re;
    }

    public void setRe(RouteEntity re) {
        this.re = re;
    }

    public BoatTypeEntity getSo() {
        return so;
    }

    public void setSo(BoatTypeEntity so) {
        this.so = so;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSoid() {
        return soid;
    }

    public void setSoid(int soid) {
        this.soid = soid;
    }

    public String getScountry() {
        return scountry;
    }

    public void setScountry(String scountry) {
        this.scountry = scountry;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    @Override
    public String toString() {
        return "BoatEntity{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", soid=" + soid +
                ", scountry='" + scountry + '\'' +
                ", rid=" + rid +
                ", sstate=" + sstate +
                ", so=" + so +
                ", re=" + re +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                '}';
    }
}
